/**
 * Copyright (c) 2012, Camelot and/or its affiliates. All rights reserved.
 * Camelot PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */
package com.camelot.ccr.system.dao;

import java.util.List;

import com.camelot.ccr.global.dao.GenericDaO;
import com.camelot.ccr.global.util.Pager;
import com.camelot.ccr.system.persistence.MatchTeam;
import com.camelot.ccr.system.persistence.Team;

/**
 * <pre>
 * <车队信息>
 * </pre>
 * @author Liu Jun
 * @version V0.1, 2014-5-20 下午10:28:23
 */
public interface MatchTeamDao extends GenericDaO<MatchTeam, String> {
	

	/**
	 * <pre>
	 * 赛事类型和车队中间数据并分页
	 * </pre>
	 * @param curpage 当前页
	 * @param pageSize  每页显示数量
	 * @param example 参数
	 * @return Pager<MatchTeam>
	 * @author Liu Jun, 2014-5-23 下午6:45:20
	 */
	Pager<MatchTeam> findPageList(int curpage, int pageSize, MatchTeam example);
	
	List<MatchTeam> findByTeam(Team team);
}
